﻿using IOA.MES.PdaApi.Models.Response.Product;
using System;
using System.Collections.Generic;

namespace IOA.MES.PdaApi.Models.Response.Inbound
{
    /// <summary>
    /// 查询入库记录返回对象
    /// </summary>
    public class QueryInboundsResponse
    {
        /// <summary>
        /// 入库记录列表
        /// </summary>
        public List<Inbound> Inbounds { get; set; } = new List<Inbound>();
    }

    /// <summary>
    /// 入库单
    /// </summary>
    public class Inbound
    {
        /// <summary>
        /// 入库单号
        /// </summary>
        public string InboundNo { get; set; }

        /// <summary>
        /// 入库类型编号（如调拨单号）
        /// </summary>
        public string InboundTypeNo { get; set; }

        /// <summary>
        /// 入库仓库代码
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 入库仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 入库数量
        /// </summary>
        public decimal Count { get; set; }

        /// <summary>
        /// 入库人
        /// </summary>
        public string InboundBy { get; set; }

        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime InboundTime { get; set; }

        /// <summary>
        /// 包装清单
        /// </summary>
        public List<PackItem> Packs { get; set; } = new List<PackItem>();
    }
}
